
# -*- coding: utf-8 -*-
from playwri.sync_api import sync_playwright
import time
def test_a3mall():
    with sync_playwright()as p:
        page = p.chromium.launch(headless=False).new_page()
        page.goto('http://10.59.9.14:7003/')
        print(page.title())
        # page.click('a[href="/home/login.html"]')
        # page.fill('input[name="username"]','15232008902')
        # page.fill('input[name="password"]','123456')
        # time.sleep(15)
        # page.click('a[class="finish-btn"]')
        # time.sleep(10)
        # page.fill('input[name="keywords"]','老太')
        # page.click('class="search-input-btn"')
        page.close()
